
.controls {
    display: flex;
    -webkit-flex: 1;
    flex: 1;
    
    .button {
        display: inline-block;
        vertical-align: top;
        height: 36px;
        min-width: 36px;
        text-align: center;
        border-right: 1px solid lighten($dark, 10%);
        background: $dark;
        color: white;
    
        padding: 10px 0;
        height: 16px;
        
        &:hover {
            background-color: lighten($dark, 10%);
            cursor: pointer;
        };
        &:active {
            background-color: darken($dark, 10%);
        };
        
    }
}

.play-pause.playing {
    .fa-pause {
        display: inline;
    }
    .fa-play {
        display: none;
    }
}
.play-pause {
    .fa-pause {
        display: none;
    }
    .fa-play {
        display: inline;
    }
}

.button.refresh {
    border-left: 1px solid lighten($dark, 10%);
}


.button .topbar-button-shortcut {
    opacity: 0;
    padding-top: 2em;
    color: #000;
    font-size: 9px;
    cusor: default;
    display: block;
    pointer-events: none;
    text-transform: uppercase;
    
	-webkit-transition: opacity 0.25s;
	-moz-transition: opacity 0.25s;
	transition: opacity 0.25s;
    
}

.topbar:hover .button .topbar-button-shortcut {
//    display: block;
    opacity: 1;
}

.video-player {
    position: absolute;
    top: 55px;
    left: 20px;
    width: calc((100% - 800px)/2);
    min-width: 200px;
    box-shadow: 0px 0px 5px black;
    background: $dark;
}

.progressor {
    display: inline-block;
    width: 100%;
    height: 14px;
    margin: 10px;
    color: lightgrey;
    background: lighten($dark, 15%);
    text-align: center;
    cursor: default;
    font-size: 13px;
    padding-top: 2px;
    vertical-align: middle;
    overflow: hidden;
}

#player-hook {
    display: inline-block;
    flex: 1;
    -webkit-flex: 1;
    min-width: 100px;
    > span {
        position: relative;
        z-index: 200;
    }
}

.progressor-progress {
    background: white;
    background: grey;
    z-index: 100 !important;
}

.media-title {
    display: inline-block;
    padding: 11px 0;
    color: lightgrey;
    text-align: center;
    font-size: 14px;
    border-right: 1px solid lighten($dark, 10%);
}

.player-time {
    @include noselect(text);
    display: inline-block;
    font-size: 13px;
    border-left: 1px solid lighten($dark, 10%);
    border-right: 1px solid lighten($dark, 10%);
    padding: 11px 10px 9px 10px !important;
}

.time-selection {
    position: fixed;
    top: 20px;
    z-index: 50;
    top: 200px;
    background: $dark;
    padding: 7px;
    color: white;
    top: 25px;
    box-shadow: 0px 0px 5px black;
    right: 160px;
    border: 1px solid #404040;
    
    display: none;
    
    &.active {
        display: block;
    }
    input {
        width: 60px;
        font-size: 16px;
        text-align: center;
    }
    span {
        padding: 0 7px;
    }
}